package com.prs.crm.service.crm.impl;

import java.util.List;

import com.prs.crm.dao.crm.DocumenTaryDao;
import com.prs.crm.domain.crm.Customer;
import com.prs.crm.domain.crm.CustomerAgent;
import com.prs.crm.domain.crm.CustomerProject;
import com.prs.crm.domain.crm.CustomerSupplier;
import com.prs.crm.domain.crm.DocumenTary;
import com.prs.crm.domain.crm.Linkman;
import com.prs.crm.service.crm.DocumenTaryService;
import com.prs.crm.service.impl.BaseServiceImpl;

public class DocumenTaryServiceImpl  extends BaseServiceImpl<DocumenTary,DocumenTaryDao> implements DocumenTaryService{

	@Override
	public List<DocumenTary> getTaryByid(Customer customer) {
		// TODO Auto-generated method stub
		return this.getDao().getTaryByid(customer);
	}

	@Override
	public List<DocumenTary> getDocumenTaryByAgent(CustomerAgent customerAgent) {
		// TODO Auto-generated method stub
		return this.getDao().getDocumenTaryByCustomerAgent(customerAgent);
	}

	@Override
	public List<DocumenTary> getDocumenTaryByLinkman(Linkman linkman) {
		// TODO Auto-generated method stub
		return this.getDao().getDocumenTaryByLinkman(linkman);
	}

	@Override
	public List<DocumenTary> getDocumenTaryBySupplier(
			CustomerSupplier customerSupplier) {
		// TODO Auto-generated method stub
		return this.getDao().getDocumenTaryByCustomerSupplier(customerSupplier);
	}

	@Override
	public List<DocumenTary> getDocumenTaryByProject(
			CustomerProject customerProject) {
		// TODO Auto-generated method stub
		return this.getDao().getDocumenTaryByCustomerProject(customerProject);
	}

}
